<template>
  <div class="box">
      <input type="text" placeholder="请输入搜索内容" @click="goSearch">
  </div>
</template>

<script>
export default {
   name:"Search",
   data(){
      return {
         
      }
   },
   methods:{
      goSearch(){
         this.$router.push('/Ser/SearchSouSuo')
      }
   },
   components:{}
}
</script>

<style lang="css" scoped>
.box{
   height: 40px;
   line-height: 40px;
   background: linear-gradient(rgb(125, 188, 236),rgb(49, 153, 232),rgb(10, 134, 216));
   /* background-color: rgb(7, 128, 220); */
   padding: 5px 10px;
   box-sizing: border-box;
}
.box input{
   width: 100%;
   display: block;
   height: 30px;
   border: none;
   border-radius: 20px;
   text-align: center;
}
</style>